<layout name='Layout/layout_page' />

	<ol class="breadcrumb">
		<li><a href="<{:U('User/index')}>"><{:L('_menu_administrators')}></a></li>
      	<li class="active">Log</li>
    </ol>

	<form id="ajaxForm" method="post" action="<{:U('User/delog')}>" name="form1" class="form-horizontal form-validata">
	<TABLE class="table table-striped table-bordered table-hover">
	  <THEAD>
		<tr>
		  <TH><input class="checkall" name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/> <{:L("_public_select")}></TH>
		  <TH>Username</TH>
		  <TH>Time</TH>
		  <TH>IP</TH>
		</tr>
	  </THEAD>
	  <TBODY>             
			<volist name="list" id="vo">
			<tr>
			  <td><input type="checkbox" name="selectedids[]" value="<{$vo.id}>" id="<{$vo.id}>"></td>
			  <td><{$vo.username}></td>
			  <td><{$vo.loginTime|date='Y-m-d H:i:s',###}></td>
			  <td><{$vo.loginIP}></td>
			</tr>
			</volist>
	  </TBODY>
	</TABLE>
	

	<div class="row">
		<div class="col-md-6">
			<button class="btn btn-info btn-sm" onClick="if(!confirm('Cannot be recovered after deletion!'))return false;"><i class="glyphicon glyphicon-trash"></i> Delete selected message</button>
		</div>
		
		<div class="col-md-6">
			<div class="page">
				<nav>
  					<ul class="pagination"><{$page}></ul>
  				</nav>
  			</div>
		</div>
	</div>
	<input type="hidden" name="userID" value="<?php echo $_GET['id'] ?>" />
	</form>

<input type="hidden" id="menu_action" value="sys" />